package top.java.oop.inherit;

public class Person {

    String name;

    int age;

    public Person() {

    }

    public void eat() {
        System.out.println("吃饭");
    }

    public void sleep() {
        System.out.println("睡觉");
    }

}
